<script>
	
if(top==self)
{
  var frameset_url="20-9.html";//the frameset page.
  var orphan_url=self.location.href;
  var reframe_url=frameset_url+"?"+orphan_url;
  location.href=reframe_url;//in the frameset page,the subframe has been navigated to orphan_url.
} 
  function bottom_top(anchor_name)
  {
    var frame_url=self.parent.frame2.location.href;
    var n=frame_url.indexOf("#");
    if(n != -1)
      frame_url=frame_url.substring(0,n);
    self.parent.frame2.location=frame_url+"#"+anchor_name;
  }
</script>
<a href=# onClick="bottom_top('bottom')">Go to bottom</a><br>
<a href=# onClick="bottom_top('top')">Go to top</a><br>
<a href=# onClick="parent.frame2.location='20-9b.html';parent.frame3.location='20-9c.html'">
  Load file</a>
<p>
<a href=# onClick="parent.frame2.location='20-9c.html';parent.frame3.location='20-9b.html'">
  Change</a>
